package ${table.fileTemplates.serviceImpl.filePackage};

import ${table.fileTemplates.entity.filePackage}.${table.javaName};
import ${table.fileTemplates.service.filePackage}.${table.fileTemplates.service.fileName};
import com.framework.mybatis.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import ${table.fileTemplates.mapper.filePackage};

@Service
public class ${table.fileTemplates.serviceImpl.fileName} extends BaseServiceImpl<${table.javaName}, ${table.keyColumn.propertyType.simpleName}> implements ${table.fileTemplates.service.fileName} {

    @Autowired
    private ${table.fileTemplates.mapper.fileName} ${table.fileTemplates.mapper.fileName?uncap_first};

    /**
    * 获取mapper
    */
    @Override
    public ${table.fileTemplates.mapper.fileName} getMapper(){
        return ${table.fileTemplates.mapper.fileName?uncap_first};
    }

}
